<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8" isELIgnored="false"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>注册</title>
<script type="text/javascript">
	function back() {
		window.location.href="<%= request.getContextPath()%>/"
	}
	function register() {
		/* alert("注册成功"); */
		windown.location.href="<%= request.getContextPath()%>/"
	}
</script>
</head>
<body>
<form action="<%=request.getContextPath() %>/user/saveRegister" method="post">
	姓名:<input type="text" name="name"><br/><br/>
	年龄:<input type="text" name="age"><br/><br/>
	密码:<input type="password" name="password"><br/><br/>
	日期:<input type="text" name="date"><br/><br/>
	&nbsp;&nbsp;<input type="submit" value="注册" onclick="register()" />&nbsp;&nbsp;&nbsp;&nbsp;
	&nbsp;&nbsp;&nbsp;&nbsp;<input type="button" value="back" onclick="back()">
</form>

</body>
</html>